/**
 * This object provides all information about a given address.
 * This is normally used to describe a geographic position on a map.
 * 
 * @author Kim Pommert
 * @version %I%, %G%
 */
qx.Class.define("qooxdoosample.cocktail.util.Address",
{
	extend: qx.core.Object,
	
	/**
	 * Class constructor.
	 * Instantiates an object of that class.
	 */
	construct: function()
	{
		this.base(arguments);
	},
	
	properties :
	{
    	/**
    	 * The correct address representation of the location.
    	 */
    	address:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
      	/**
      	 * The coutry code of the location.
      	 */
    	country:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},   
      	
      	/**
      	 * The administrative area of the location.
      	 */
      	administrativeArea:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
      	/**
      	 * The sub administrative area of the location.
      	 */
    	subAdministrativeArea:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
      	/**
      	 * The locality of the location.
      	 */
    	locality:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
      	/**
      	 * The thoroughfare of the location.
      	 */
    	thoroughfare:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
      	/**
      	 * The postal code of the location.
      	 */
    	postalCode:
    	{
      		nullable: true,
      		init: null,
      		check: "String"
      	},
      	
    	/**
    	 * The geographic coordinates of the location.
    	 */
    	coordinates:
    	{
      		nullable: true,
      		init: null,
      		check: "qooxdoosample.cocktail.util.LatLng"
      	}
      	
	}
	
});